package com.itwk.yygh.common.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangke
 * @version 1.0.0
 * @Description 医院配置的配置类
 * @createTime 2021年08月20日 16:16:00
 */
@Configuration
@MapperScan(value = {"com.itwk.yygh.hosp.mapper"})
public class HospConfig {
    //分页插件
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }

}
